<template>
    <div class="page-height">
        <div class="box">
            <div class="cent bog">
                <img src="../../assets/image/b1.png"   class="image"></img>
                <div class="centt">
                    <div class="tett">
                        <div class="tet">
                            <div class="tt1">账号</div>
                            <div class="tt">213123213123</div>
                        </div>
                        <div class="tet1">  <el-button type="primary">复制</el-button></div>
                    </div>
                    <div class="tett">
                        <div class="tet">
                            <div class="tt1">账号</div>
                            <div class="tt">213123213123</div>
                        </div>
                        <div class="tet1">  <el-button type="primary">复制</el-button></div>
                    </div>
                </div>
                <div class="foot"  @click="jump('https://chuangyi.taobao.com/')">
                    点击跳转
                </div>
                <div class="box4">
                    <div class="tett">第一步点击“点击跳转”进入阿里妈妈·创意中心</div>
                    <div class="tett">第二步复制账号密码进行登录</div>
                    <div class="tett">第三步点击页面制作,选择相关模板进行页面制作,生成对应页面</div>
                    <div class="tett">第四步登录巨量引擎</div>
                    <div class="tett">第五步进入<el-link type="primary" style=" font-size:14px;"  :underline="false" href="https://ad.oceanengine.com/material_center/management/landingPage?aadvid=1783232702781515 " target="_blank">落地页</el-link>,选择第三方落地页进行创建</div>
                </div>
            </div>
            <div class="cent bog">
                <img src="../../assets/image/b2.png"   class="image"></img>
                <div class="centt">
                    <div class="tett">
                        <div class="tet">
                            <div class="tt1">账号</div>
                            <div class="tt">717076258@qq.com</div>
                        </div>
                        <div class="tet1">  <el-button type="primary" @click="copyContent('717076258@qq.com')">复制</el-button></div>
                    </div>
                    <div class="tett">
                        <div class="tet">
                            <div class="tt1">账号</div>
                            <div class="tt">Ss1234567..</div>
                        </div>
                        <div class="tet1">  <el-button type="primary" @click="copyContent('Ss1234567..')">复制</el-button></div>
                    </div>
                </div>
                <div class="foot" @click="jump('https://business.oceanengine.com')" >
                    点击跳转
                </div>
                <div class="box4">
                    <div class="tett">第一步点击“点击跳转”进入巨量引擎工作台</div>
                    <div class="tett">第二步复制账号密码进行登录</div>
                    <div class="tett">第三步点击账户，选择对应的账户名称，点击新建项目，进行项目创建</div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: 'entrance',
    data() {
        return {
        
        }
    },
    created() {
    },
    methods: {
        jump(url) {
             window.open(url);
        },
        copyContent(text) {
            navigator.clipboard.writeText(text); // 使用Clipboard API将目标内容复制到剪贴板上
            this.$message({
            message: '复制成功',
            type: 'success'
            });
        }
    }
}
</script>

<style lang="scss" scoped>
    .box{
        display:flex;
        align-items:center;
        justify-content:space-around;
        width:100%;
        .cent{
            .centt{
                margin-top:10%;
                width:80%;
                 display:flex;
                 align-items:center;
                 justify-content:center;
                 flex-direction:column;
                 margin-bottom:10px;
                .tett{
                    display:flex;
                    align-items:center;
                    justify-content:center;
                    width:90%;
                    margin-bottom:20px;
                    .tet{
                        display:flex;
                        align-items:center;
                        height:40px;
                        background:#f5f5f5;
                        width:71%;
                        border-radius:10px;
                        margin-right:20px;
                        font-size:14px;
                        .tt1{
                            width:60px;
                            display:flex;
                            align-items:center;
                            justify-content:center;
                            border-right:1px solid #aaa
                        }
                        .tt{
                            padding-left:20px;
                            font-weight:600
                        }
                    }
                }
                
        }
             
            .image{
                // width:300px;
                height:55px;
                object-fit:contain;
                // margin-top:10px
                margin-top:20%;
            }
            width:40%;
            height:80vh;
            display:flex;
            align-items:center;
            // justify-content:space-around;
            flex-direction:column;
            // padding:5% 0
        }
        .bog{
            background-image: url("../../assets/image/b3.png");
            background-size:100% 100%
        }
        .bog1{
            background-image: url("../../assets/image/b4.png");
            background-size:100% 100%
        }
    }
    .page-height{
        display:flex;
        align-items:center;
        justify-content:center;
    }
    .foot{
        width:65%;
        background:#409EFF;
        height:50px;
        display:flex;
        align-items:center;
        justify-content:center;
        color:#fff;
        font-size:15px;
        border-radius:30px;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
        cursor:pointer;
        margin-top:5%;
    }
    .box4{
        width:65%;
        // height:10%;
        display:flex;
        align-items:center;
        justify-content:center;
        flex-direction:column;
        margin-top:5%;
        line-height:25px;
        .tett{
            width:100%;
            font-size:14px;
            color:#aaa
        }
    }
</style>
